home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2007 December / PCWKCD1207B.iso / Blogowanie poza sfera / Flock 0.9.1.3 stable / flock-0.9.1.3.en-US.win32.exe / flock / chrome / browser.jar / content / browser / preferences / downloadactions.xul < prev    next >
Extensible Markup Language  |  2006-07-18  |  4KB  |  90 lines

  1. <?xml version="1.0"?>
  2.  
  3.  
  4. <?xml-stylesheet href="chrome://global/skin/"?>
  5. <?xml-stylesheet href="chrome://browser/skin/preferences/preferences.css"?>
  6.  
  7. <!DOCTYPE prefwindow [
  8.   <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
  9.   <!ENTITY % downloadactionsDTD SYSTEM "chrome://browser/locale/preferences/downloadactions.dtd">
  10.   %brandDTD;
  11.   %downloadactionsDTD;
  12. ]>
  13.  
  14. <window id="DownloadActionsWindow" class="windowDialog"
  15.         windowtype="Preferences:DownloadActions"
  16.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  17.         onload="gDownloadActionsWindow.init();"
  18.         onunload="gDownloadActionsWindow.uninit();"
  19.         title="&downloadactionsWindow.title;"
  20.         width="&window.width;" height="&window.height;" persist="width height screenX screenY">
  21.  
  22.   <script type="application/x-javascript" src="chrome://mozapps/content/preferences/actionsshared.js"/>
  23.   <script type="application/x-javascript" src="chrome://browser/content/preferences/downloadactions.js"/>
  24.  
  25.   <stringbundle id="bundlePreferences" src="chrome://browser/locale/preferences/preferences.properties"/>
  26.  
  27.   <keyset>
  28.     <key key="&windowClose.key;" modifiers="accel" oncommand="window.close();"/>
  29.     <key key="&focusSearch1.key;" modifiers="accel" oncommand="gDownloadActionsWindow.focusFilterBox();"/>
  30.     <key key="&focusSearch2.key;" modifiers="accel" oncommand="gDownloadActionsWindow.focusFilterBox();"/>
  31.   </keyset>
  32.            
  33.   <vbox flex="1" class="contentPane">
  34.     <hbox align="center">
  35.       <label accesskey="&filter.accesskey;" control="filter">&filter.label;</label>
  36.       <textbox id="filter" flex="1" oninput="gDownloadActionsWindow.onFilterInput();" 
  37.               onkeypress="gDownloadActionsWindow.onFilterKeyPress(event);"/>
  38.       <button id="clearFilter" icon="clear" label="&clear.label;" accesskey="&clear.accesskey;" 
  39.               oncommand="gDownloadActionsWindow.clearFilter();" disabled="true"/>
  40.     </hbox>
  41.     <separator class="thin"/>
  42.     <label id="actionsIntro" control="fileHandlersList">
  43.       &fileTypesDescription.label;
  44.     </label>
  45.     <separator class="thin"/>
  46.     <tree id="fileHandlersList" flex="1"
  47.           lastSelected="0" persist="lastSelected"
  48.           onselect="gDownloadActionsWindow.onSelectionChanged();"
  49.           ondblclick="gDownloadActionsWindow.editFileHandler();">
  50.       <treechildren id="extensionChildren"/>
  51.       <treecols>
  52.         <treecol id="fileExtension" ignoreincolumnpicker="true" fiex="true"
  53.                   class="sortDirectionIndicator" persist="width"
  54.                   label="&fileExtensionColumn.label;" accesskey="&fileExtensionColumn.accesskey;"
  55.                   onclick="gDownloadActionsWindow.sort('extension');"/>
  56.         <treecol id="fileType" flex="1"
  57.                   class="sortDirectionIndicator" persist="width"
  58.                   label="&fileTypeColumn.label;" accesskey="&fileTypeColumn.accesskey;"
  59.                   onclick="gDownloadActionsWindow.sort('typeName');"/>
  60.         <splitter class="tree-splitter" />
  61.         <treecol id="fileMIMEType" flex="1" hidden="true"
  62.                   class="sortDirectionIndicator" persist="width"
  63.                   label="&fileMIMETypeColumn.label;" accesskey="&fileMIMETypeColumn.accesskey;"
  64.                   onclick="gDownloadActionsWindow.sort('type');"/>
  65.         <splitter class="tree-splitter" />
  66.         <treecol id="fileHandler" flex="1"
  67.                   class="sortDirectionIndicator" persist="width"
  68.                   label="&fileHandlerColumn.label;" accesskey="&fileHandlerColumn.accesskey;"
  69.                   onclick="gDownloadActionsWindow.sort('action');"/>                
  70.       </treecols>
  71.     </tree>
  72.   </vbox>
  73.   <separator class="thin"/>
  74.   <hbox>
  75.     <hbox flex="1" class="actionButtons">
  76.       <button id="removeFileHandler" icon="remove"
  77.               label="&remove.label;" accesskey="&remove.accesskey;"
  78.               oncommand="gDownloadActionsWindow.removeFileHandler();"/>
  79.       <button id="editFileHandler"
  80.               label="&edit.label;" accesskey="&edit.accesskey;"
  81.               oncommand="gDownloadActionsWindow.editFileHandler();"/>
  82.       <spacer flex="1"/>
  83.       <button oncommand="close();" icon="close"
  84.               label="&button.close.label;" accesskey="&button.close.accesskey;"/>
  85.     </hbox>
  86.     <resizer dir="bottomright"/>
  87.   </hbox>
  88. </window>
  89.  
  90.